package com.cwj.we.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.List;

/**
 * created by cwj on 2024-4-24
 * Description: 壁纸
 */
public class BiZhiBean {

    /**
     * msg : success
     * res : {"vertical":[{"views":0,"ncos":0,"rank":36,"source_type":"vertical","tag":["语录","文字","手写","正能量"],"wp":"http://img5.adesk.com/6617520be7bce71485d45637?sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8","xr":false,"cr":false,"favs":2,"atime":1.713927917E9,"id":"6617520be7bce71485d45637","desc":"","thumb":"http://img5.adesk.com/6617520be7bce71485d45637?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8","img":"http://img5.adesk.com/6617520be7bce71485d45637?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8","cid":["5109e04e48d5b9364ae9ac45"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/6617520be7bce71485d45637?sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":36,"source_type":"vertical","tag":["语录","文字","手写","正能量"],"wp":"http://img5.adesk.com/6617520be7bce7149a0e963a?sign=444ebff234f8fe816facb8599589c4bc&t=6628e4e8","xr":false,"cr":false,"favs":3,"atime":1.713927917E9,"id":"6617520be7bce7149a0e963a","desc":"","thumb":"http://img5.adesk.com/6617520be7bce7149a0e963a?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=444ebff234f8fe816facb8599589c4bc&t=6628e4e8","img":"http://img5.adesk.com/6617520be7bce7149a0e963a?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=444ebff234f8fe816facb8599589c4bc&t=6628e4e8","cid":["5109e04e48d5b9364ae9ac45"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/6617520be7bce7149a0e963a?sign=444ebff234f8fe816facb8599589c4bc&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":0,"source_type":"vertical","tag":["城市","建筑","钢筋水泥","高楼大厦"],"wp":"http://img5.adesk.com/66224ba8e7bce769fe6b91ad?sign=b2441369e46c850a0aa595b90b108631&t=6628e4e8","xr":false,"cr":false,"favs":0,"atime":1.713927912E9,"id":"66224ba8e7bce769fe6b91ad","desc":"","thumb":"http://img5.adesk.com/66224ba8e7bce769fe6b91ad?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=b2441369e46c850a0aa595b90b108631&t=6628e4e8","img":"http://img5.adesk.com/66224ba8e7bce769fe6b91ad?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=b2441369e46c850a0aa595b90b108631&t=6628e4e8","cid":["4fb47a305ba1c60ca5000223"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/66224ba8e7bce769fe6b91ad?sign=b2441369e46c850a0aa595b90b108631&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":18,"source_type":"vertical","tag":["城市","建筑","钢筋水泥","高楼大厦"],"wp":"http://img5.adesk.com/66224ba8e7bce76a169942a1?sign=49c2678f55bb5f3744acef98ad945c53&t=6628e4e8","xr":false,"cr":false,"favs":1,"atime":1.713927912E9,"id":"66224ba8e7bce76a169942a1","desc":"","thumb":"http://img5.adesk.com/66224ba8e7bce76a169942a1?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=49c2678f55bb5f3744acef98ad945c53&t=6628e4e8","img":"http://img5.adesk.com/66224ba8e7bce76a169942a1?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=49c2678f55bb5f3744acef98ad945c53&t=6628e4e8","cid":["4fb47a305ba1c60ca5000223"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/66224ba8e7bce76a169942a1?sign=49c2678f55bb5f3744acef98ad945c53&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":0,"source_type":"vertical","tag":["城市","建筑","钢筋水泥","高楼大厦"],"wp":"http://img5.adesk.com/66224ba8e7bce76a2de9103d?sign=6e178bd373ac3fc6518e3468c7088a5b&t=6628e4e8","xr":false,"cr":false,"favs":0,"atime":1.713927912E9,"id":"66224ba8e7bce76a2de9103d","desc":"","thumb":"http://img5.adesk.com/66224ba8e7bce76a2de9103d?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=6e178bd373ac3fc6518e3468c7088a5b&t=6628e4e8","img":"http://img5.adesk.com/66224ba8e7bce76a2de9103d?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=6e178bd373ac3fc6518e3468c7088a5b&t=6628e4e8","cid":["4fb47a305ba1c60ca5000223"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/66224ba8e7bce76a2de9103d?sign=6e178bd373ac3fc6518e3468c7088a5b&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":9,"source_type":"vertical","tag":[],"wp":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c4?sign=6c6f556a676b93e1dca0c658bcfdf3ee&t=6628e4e8","xr":false,"cr":false,"favs":0,"atime":1.713927905E9,"id":"65ffcd8f31f6132f9913a7c4","desc":"","thumb":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c4?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=6c6f556a676b93e1dca0c658bcfdf3ee&t=6628e4e8","img":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c4?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=6c6f556a676b93e1dca0c658bcfdf3ee&t=6628e4e8","cid":["5109e05248d5b9368bb559dc"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c4?sign=6c6f556a676b93e1dca0c658bcfdf3ee&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":36,"source_type":"vertical","tag":[],"wp":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c5?sign=fff556b372e08c83e46d5e16dc51f781&t=6628e4e8","xr":false,"cr":false,"favs":2,"atime":1.713927905E9,"id":"65ffcd8f31f6132f9913a7c5","desc":"","thumb":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c5?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=fff556b372e08c83e46d5e16dc51f781&t=6628e4e8","img":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c5?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=fff556b372e08c83e46d5e16dc51f781&t=6628e4e8","cid":["5109e05248d5b9368bb559dc"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c5?sign=fff556b372e08c83e46d5e16dc51f781&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":45,"source_type":"vertical","tag":[],"wp":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c6?sign=10e0bb7c782235b1cfb5917d8be7c1aa&t=6628e4e8","xr":false,"cr":false,"favs":3,"atime":1.713927905E9,"id":"65ffcd8f31f6132f9913a7c6","desc":"","thumb":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c6?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=10e0bb7c782235b1cfb5917d8be7c1aa&t=6628e4e8","img":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c6?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=10e0bb7c782235b1cfb5917d8be7c1aa&t=6628e4e8","cid":["5109e05248d5b9368bb559dc"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/65ffcd8f31f6132f9913a7c6?sign=10e0bb7c782235b1cfb5917d8be7c1aa&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":45,"source_type":"vertical","tag":[],"wp":"http://img5.adesk.com/66001c6b31f6132fffc87672?sign=363ffbe905b5a1dfd77d76318a4c5cbd&t=6628e4e8","xr":false,"cr":false,"favs":3,"atime":1.713927905E9,"id":"66001c6b31f6132fffc87672","desc":"","thumb":"http://img5.adesk.com/66001c6b31f6132fffc87672?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=363ffbe905b5a1dfd77d76318a4c5cbd&t=6628e4e8","img":"http://img5.adesk.com/66001c6b31f6132fffc87672?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=363ffbe905b5a1dfd77d76318a4c5cbd&t=6628e4e8","cid":["5109e05248d5b9368bb559dc"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/66001c6b31f6132fffc87672?sign=363ffbe905b5a1dfd77d76318a4c5cbd&t=6628e4e8","store":"qiniu"},{"views":0,"ncos":0,"rank":54,"source_type":"vertical","tag":[],"wp":"http://img5.adesk.com/66004304e7bce72ff6cca6b1?sign=593e9c455373c2cb8342ee62af3c9f85&t=6628e4e8","xr":false,"cr":false,"favs":4,"atime":1.713927905E9,"id":"66004304e7bce72ff6cca6b1","desc":"","thumb":"http://img5.adesk.com/66004304e7bce72ff6cca6b1?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=593e9c455373c2cb8342ee62af3c9f85&t=6628e4e8","img":"http://img5.adesk.com/66004304e7bce72ff6cca6b1?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=593e9c455373c2cb8342ee62af3c9f85&t=6628e4e8","cid":["5109e05248d5b9368bb559dc"],"url":[],"rule":"&imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>","preview":"http://img5.adesk.com/66004304e7bce72ff6cca6b1?sign=593e9c455373c2cb8342ee62af3c9f85&t=6628e4e8","store":"qiniu"}]}
     * code : 0
     */

    private String msg;
    private ResBean res;
    private int code;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResBean getRes() {
        return res;
    }

    public void setRes(ResBean res) {
        this.res = res;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class ResBean {
        private List<VerticalBean> vertical;

        public List<VerticalBean> getVertical() {
            return vertical;
        }

        public void setVertical(List<VerticalBean> vertical) {
            this.vertical = vertical;
        }

        public static class VerticalBean implements Parcelable {
            /**
             * views : 0
             * ncos : 0
             * rank : 36
             * source_type : vertical
             * tag : ["语录","文字","手写","正能量"]
             * wp : http://img5.adesk.com/6617520be7bce71485d45637?sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8
             * xr : false
             * cr : false
             * favs : 2
             * atime : 1.713927917E9
             * id : 6617520be7bce71485d45637
             * desc :
             * thumb : http://img5.adesk.com/6617520be7bce71485d45637?imageMogr2/thumbnail/!350x540r/gravity/Center/crop/350x540&sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8
             * img : http://img5.adesk.com/6617520be7bce71485d45637?imageMogr2/thumbnail/!1080x1920r/gravity/Center/crop/1080x1920&sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8
             * cid : ["5109e04e48d5b9364ae9ac45"]
             * url : []
             * rule : &imageMogr2/thumbnail/!$<Width>x$<Height>r/gravity/Center/crop/$<Width>x$<Height>
             * preview : http://img5.adesk.com/6617520be7bce71485d45637?sign=8898a25c3ecf3159779116fb4f48c3d6&t=6628e4e8
             * store : qiniu
             */

            private int views;
            private int ncos;
            private int rank;
            private String source_type;
            private String wp;
            private boolean xr;
            private boolean cr;
            private int favs;
            private double atime;
            private String id;
            private String desc;
            private String thumb;
            private String img;
            private String rule;
            private String preview;
            private String store;
            private List<String> tag;
            private List<String> cid;
            private List<?> url;

            protected VerticalBean(Parcel in) {
                views = in.readInt();
                ncos = in.readInt();
                rank = in.readInt();
                source_type = in.readString();
                wp = in.readString();
                xr = in.readByte() != 0;
                cr = in.readByte() != 0;
                favs = in.readInt();
                atime = in.readDouble();
                id = in.readString();
                desc = in.readString();
                thumb = in.readString();
                img = in.readString();
                rule = in.readString();
                preview = in.readString();
                store = in.readString();
                tag = in.createStringArrayList();
                cid = in.createStringArrayList();
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeInt(views);
                dest.writeInt(ncos);
                dest.writeInt(rank);
                dest.writeString(source_type);
                dest.writeString(wp);
                dest.writeByte((byte) (xr ? 1 : 0));
                dest.writeByte((byte) (cr ? 1 : 0));
                dest.writeInt(favs);
                dest.writeDouble(atime);
                dest.writeString(id);
                dest.writeString(desc);
                dest.writeString(thumb);
                dest.writeString(img);
                dest.writeString(rule);
                dest.writeString(preview);
                dest.writeString(store);
                dest.writeStringList(tag);
                dest.writeStringList(cid);
            }

            @Override
            public int describeContents() {
                return 0;
            }

            public static final Creator<VerticalBean> CREATOR = new Creator<VerticalBean>() {
                @Override
                public VerticalBean createFromParcel(Parcel in) {
                    return new VerticalBean(in);
                }

                @Override
                public VerticalBean[] newArray(int size) {
                    return new VerticalBean[size];
                }
            };

            public int getViews() {
                return views;
            }

            public void setViews(int views) {
                this.views = views;
            }

            public int getNcos() {
                return ncos;
            }

            public void setNcos(int ncos) {
                this.ncos = ncos;
            }

            public int getRank() {
                return rank;
            }

            public void setRank(int rank) {
                this.rank = rank;
            }

            public String getSource_type() {
                return source_type;
            }

            public void setSource_type(String source_type) {
                this.source_type = source_type;
            }

            public String getWp() {
                return wp;
            }

            public void setWp(String wp) {
                this.wp = wp;
            }

            public boolean isXr() {
                return xr;
            }

            public void setXr(boolean xr) {
                this.xr = xr;
            }

            public boolean isCr() {
                return cr;
            }

            public void setCr(boolean cr) {
                this.cr = cr;
            }

            public int getFavs() {
                return favs;
            }

            public void setFavs(int favs) {
                this.favs = favs;
            }

            public double getAtime() {
                return atime;
            }

            public void setAtime(double atime) {
                this.atime = atime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getRule() {
                return rule;
            }

            public void setRule(String rule) {
                this.rule = rule;
            }

            public String getPreview() {
                return preview;
            }

            public void setPreview(String preview) {
                this.preview = preview;
            }

            public String getStore() {
                return store;
            }

            public void setStore(String store) {
                this.store = store;
            }

            public List<String> getTag() {
                return tag;
            }

            public void setTag(List<String> tag) {
                this.tag = tag;
            }

            public List<String> getCid() {
                return cid;
            }

            public void setCid(List<String> cid) {
                this.cid = cid;
            }

            public List<?> getUrl() {
                return url;
            }

            public void setUrl(List<?> url) {
                this.url = url;
            }
        }
    }
}
